package com.jv.spring.importannotation.scan;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Getter
public class User {
	@Value("${name}")
	private String name;

	@Value("${age}")
	private Integer age;
}
